import { DrawerForm } from '@ant-design/pro-form';
import { ActionType } from '@ant-design/pro-table';
import { Button } from 'antd';
import React, { useRef } from 'react';
import { useAccess } from 'umi';

interface AssignAddCombineNodeProps {
  onRefurbish: () => void;
}

const AssignAddCombineNode: React.FC<AssignAddCombineNodeProps> = ({ onRefurbish }) => {
  const access = useAccess();
  const actionRef = useRef<ActionType>();

  return (
    <DrawerForm
      key="assign_add_combine_node_drawer_form"
      title="新增节点"
      drawerProps={{
        destroyOnClose: true,
      }}
      trigger={<Button type="primary">新增节点</Button>}
      onOpenChange={(visible) => {
        if (visible) {
        }
      }}
      submitter={false}
    >




    </DrawerForm>
  );
};

export default AssignAddCombineNode;
